package com.jsyl.lwbk.business.mapper;

import com.jsyl.lwbk.business.domain.ScaleEvaluate;
import com.jsyl.lwbk.business.vo.EvaluateModuleVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ScaleEvaluateMapper {
    int insert(ScaleEvaluate record);

    List<ScaleEvaluate> selectAll();

    ScaleEvaluate selectByModel(Integer evaluateModule);

    ScaleEvaluate selectScaleByModule(@Param("evaluateModule") Integer evaluateModule, @Param("childTotalScore") Integer childTotalScore);

    ScaleEvaluate selectScaleNumByModule(@Param("evaluateModule") Integer evaluateModule, @Param("childTotalNum") Integer childTotalNum);

    List<EvaluateModuleVO> selectEvaluateModule(@Param("childId") Long childId);

}